package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Carcomplement entity. @author MyEclipse Persistence Tools
 */

public class Carcomplement implements java.io.Serializable {

	// Fields

	private Integer carComplementId;
	private Company company;
	private Cartype cartype;
	private String carName;
	private String carSystem;
	private Short carBridge;
	private String steeringAddress;
	private Float length;
	private Float height;
	private Float width;
	private Short allowedPeople;
	private Short drive;
	private Float enginePower;
	private Float quality;
	private Float displacement;
	private Float mpg;
	private Boolean hasGearbox;
	private Float totalQuality;
	private Float busLoad;
	private Set materials = new HashSet(0);
	private Set cars = new HashSet(0);
	private Set carsells = new HashSet(0);
	private Set carstocks = new HashSet(0);
	private Set carbuies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Carcomplement() {
	}

	/** full constructor */
	public Carcomplement(Company company, Cartype cartype, String carName, String carSystem, Short carBridge,
			String steeringAddress, Float length, Float height, Float width, Short allowedPeople, Short drive,
			Float enginePower, Float quality, Float displacement, Float mpg, Boolean hasGearbox, Float totalQuality,
			Float busLoad, Set materials, Set cars, Set carsells, Set carstocks, Set carbuies) {
		this.company = company;
		this.cartype = cartype;
		this.carName = carName;
		this.carSystem = carSystem;
		this.carBridge = carBridge;
		this.steeringAddress = steeringAddress;
		this.length = length;
		this.height = height;
		this.width = width;
		this.allowedPeople = allowedPeople;
		this.drive = drive;
		this.enginePower = enginePower;
		this.quality = quality;
		this.displacement = displacement;
		this.mpg = mpg;
		this.hasGearbox = hasGearbox;
		this.totalQuality = totalQuality;
		this.busLoad = busLoad;
		this.materials = materials;
		this.cars = cars;
		this.carsells = carsells;
		this.carstocks = carstocks;
		this.carbuies = carbuies;
	}

	// Property accessors

	public Integer getCarComplementId() {
		return this.carComplementId;
	}

	public void setCarComplementId(Integer carComplementId) {
		this.carComplementId = carComplementId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Cartype getCartype() {
		return this.cartype;
	}

	public void setCartype(Cartype cartype) {
		this.cartype = cartype;
	}

	public String getCarName() {
		return this.carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

	public String getCarSystem() {
		return this.carSystem;
	}

	public void setCarSystem(String carSystem) {
		this.carSystem = carSystem;
	}

	public Short getCarBridge() {
		return this.carBridge;
	}

	public void setCarBridge(Short carBridge) {
		this.carBridge = carBridge;
	}

	public String getSteeringAddress() {
		return this.steeringAddress;
	}

	public void setSteeringAddress(String steeringAddress) {
		this.steeringAddress = steeringAddress;
	}

	public Float getLength() {
		return this.length;
	}

	public void setLength(Float length) {
		this.length = length;
	}

	public Float getHeight() {
		return this.height;
	}

	public void setHeight(Float height) {
		this.height = height;
	}

	public Float getWidth() {
		return this.width;
	}

	public void setWidth(Float width) {
		this.width = width;
	}

	public Short getAllowedPeople() {
		return this.allowedPeople;
	}

	public void setAllowedPeople(Short allowedPeople) {
		this.allowedPeople = allowedPeople;
	}

	public Short getDrive() {
		return this.drive;
	}

	public void setDrive(Short drive) {
		this.drive = drive;
	}

	public Float getEnginePower() {
		return this.enginePower;
	}

	public void setEnginePower(Float enginePower) {
		this.enginePower = enginePower;
	}

	public Float getQuality() {
		return this.quality;
	}

	public void setQuality(Float quality) {
		this.quality = quality;
	}

	public Float getDisplacement() {
		return this.displacement;
	}

	public void setDisplacement(Float displacement) {
		this.displacement = displacement;
	}

	public Float getMpg() {
		return this.mpg;
	}

	public void setMpg(Float mpg) {
		this.mpg = mpg;
	}

	public Boolean getHasGearbox() {
		return this.hasGearbox;
	}

	public void setHasGearbox(Boolean hasGearbox) {
		this.hasGearbox = hasGearbox;
	}

	public Float getTotalQuality() {
		return this.totalQuality;
	}

	public void setTotalQuality(Float totalQuality) {
		this.totalQuality = totalQuality;
	}

	public Float getBusLoad() {
		return this.busLoad;
	}

	public void setBusLoad(Float busLoad) {
		this.busLoad = busLoad;
	}

	public Set getMaterials() {
		return this.materials;
	}

	public void setMaterials(Set materials) {
		this.materials = materials;
	}

	public Set getCars() {
		return this.cars;
	}

	public void setCars(Set cars) {
		this.cars = cars;
	}

	public Set getCarsells() {
		return this.carsells;
	}

	public void setCarsells(Set carsells) {
		this.carsells = carsells;
	}

	public Set getCarstocks() {
		return this.carstocks;
	}

	public void setCarstocks(Set carstocks) {
		this.carstocks = carstocks;
	}

	public Set getCarbuies() {
		return this.carbuies;
	}

	public void setCarbuies(Set carbuies) {
		this.carbuies = carbuies;
	}

}